.calendar {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 410px;
  color: #211d48;
  font-family: 'microsoft yahei', 'Century Gothic', 'Segoe UI', Calibri, Arial;
  font-size: 15px;
  text-align: center;
  border-collapse: collapse;
}
.calendar th,
.calendar td {
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}
.calendar span {
  padding: 0.06rem 0.04rem;
  display: block;
}
.calendar .month {
  padding: 0.15rem;
}
.calendar .pMDate,
.calendar .nMDate {
  color: #AAA;
}
.calendar .date,
.calendar .pMDate,
.calendar .nMDate,
.calendar .month {
  cursor: pointer;
}
.calendar .date.disabled,
.calendar .pMDate.disabled,
.calendar .nMDate.disabled {
  cursor: not-allowed;
  color: #999999;
}
.calendar .date:not(.disabled):hover,
.calendar .pMDate:not(.disabled):hover,
.calendar .nMDate:not(.disabled):hover,
.calendar .month:hover {
  background-color: rgba(255, 255, 255, 0);
}
.calendar .date:not(.disabled):active,
.calendar .pMDate:not(.disabled):active,
.calendar .nMDate:not(.disabled):active,
.calendar .month:active {
  background-color: rgba(255, 255, 255, 0);
}
/*表头背景色*/
/*选日期*/
.calendar thead tr:first-child {
  height: 40px;
}
.calendar tr:first-child th {
  padding: 8px 4px;
  font-size: 18px;
}
.calendar tr:first-child th {
  cursor: pointer;
  color: #06823c;
}
/*.calendar tr:first-child th:hover { color:#22A7F0; }
.calendar tr:first-child th:active { color: #22A7F0; }*/
    .calendar thead tr:nth-of-type(2) {
        height: 40px;
        background: #06823c;
    }
.calendar thead tr:nth-child(2) th {
  color: #ffffff;
}
.calendar tbody tr {
  height: 36px;
}
.calendar #prev,
.calendar #next {
  font-family: 'Times New Roman';
  font-size: 24px;
  padding: 0;
}
.calendar #today {
  text-align: center;
  cursor: pointer;
  color: #22A7F0;
  padding: 0.1rem 0.06rem;
}
.calendar #today:hover {
  color: #80A7DD;
}
.calendar #today:active {
  color: #FFFFFF;
}
.calendar #currDay {
  color: #FFFFFF;
  background: url(../images/bg_cur.png) center center no-repeat;
}
.calendar .hasData {
  background: url(../images/bg_cur.png) center center no-repeat;
}
.calendar .hasData span{
  color:white;
  font-weight: bold;
}
.calendar .zpxx_list {
  position: absolute;
  z-index: 5;
  left: -107px;
  top: 42px;
  opacity: 0;
  display: none;
  width: 400px;
  padding: 10px;
  border-radius: 5px;
  background: #FFFFFF;
  box-shadow: 0 1px 5px #CCCCCC;
}
    .calendar .zpxx_list .zpxx_item {
        line-height: 28px;
        font-size: 14px;
        border-top: 1px solid #f5f5f5;
        text-align: left;
    }
.calendar .zpxx_list .zpxx_item a {
  display: block;
  color: #252525;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar .zpxx_list .zpxx_item a:hover {
  color: #656565;
}
.calendar .hasData:hover .zpxx_list {
  display: block;
  opacity: 1;
}
.zpxx_list img {
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  width: 28px;
  height: 28px;
  margin: 0 auto;
}
